Skip to content

Check for gh tool during sanity checks#1436

Open
j-rivero wants to merge 1 commit intomasterfrom
fix/check-gh-tool-during-dry-run
Open

Check for gh tool during sanity checks#1436
j-rivero wants to merge 1 commit intomasterfrom
fix/check-gh-tool-during-dry-run

Conversation

@j-rivero
Copy link
Contributor

Summary

  • Adds a sanity check to verify that the GitHub CLI (gh) tool is available in PATH during dry run
  • Prevents the release process from failing late when gh is needed for creating PRs in vendor repositories
  • Provides a helpful error message with installation link if gh is not found

Background

release.py relies on the gh tool for creating pull requests in ROS vendor repositories. If a user does not have it installed, the release process executes every step without warning until it hits the step that requires gh, wasting time and potentially leaving the release in a partial state.

Fixes #1433


Generated-by: Claude Opus 4.5

Add a sanity check to verify that the GitHub CLI (gh) tool is available
in PATH before proceeding with the release. This prevents the release
process from failing late in the process when gh is needed for creating
PRs in vendor repositories.

Fixes #1433

Generated-by: Claude Opus 4.5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Check for gh tool during dry run

3 participants